<!DOCTYPE html>
<svg>
  <defs>
    <rect id="rect" width="100" height="100" visibility="visible"></rect>
    <clipPath id="clip" visibility="hidden">
      <use xlink:href="#rect"/>
    </clipPath>
  </defs>
  <rect width="400" height="400" fill="green" clip-path="url(#clip)"></rect>
</svg>
